package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发现管理对象 app_discovers
 *
 * @author ruoyi
 * @date 2023-03-07
 */
public class AppDiscovers extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 图标
     */
    @Excel(name = "图标")
    private String pic;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 超链接
     */
    @Excel(name = "超链接")
    private String linkUrl;

    /**
     * 状态 0 开启  1 关闭
     */
    @Excel(name = "状态 0 开启  1 关闭")
    private Long isState;

    @TableField(exist = false)
    private Boolean enable;

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPic() {
        return pic;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setIsState(Long isState) {
        this.isState = isState;
    }

    public Long getIsState() {
        return isState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("name", getName())
                .append("pic", getPic())
                .append("sort", getSort())
                .append("linkUrl", getLinkUrl())
                .append("isState", getIsState())
                .toString();
    }
}
